package com.moson.girl.Repository;

import com.moson.girl.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: MoXingjian
 * @Description:
 * @Date: Created in 17:27 2018/1/7
 * @Modified By:
 */
public interface GirlRepository extends JpaRepository<Girl,Integer>{

    /**
     * 查询年龄在多少岁之后
     * @param age
     * @return
     */
    public List<Girl> findByAgeAfter(Integer age);
}
